import type { User } from './api'
export type IAction = 'create' | 'edit' | 'delete'

export interface IModalProp<T = User.editParams> {
    open: (type: IAction, data?: T) => void | undefined
    update: () => void
}
